<div class="cmsSections form">
<?php echo $this->Form->create('CmsSection');?>
<?php
echo $javascript->link('ckeditor/ckeditor');
echo $cksource->create(__("CmsSection",true),array('url'=>array('controller'=>'cms_section','action'=>'quick_edit'))); 
?>
<?php 
//$config['toolbar'] = array( 
//    array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ), 
//    array( 'Image', 'Link', 'Unlink', 'Anchor' ) 
//); 
$config['height'] = 400;
?>
	<fieldset>
 		<legend><?php __('Edit Cms Section'); ?></legend>
	<?php

		echo $this->Form->hidden('CmsSection.id');
		echo $this->Form->hidden('CmsSection.cms_id');
		echo $this->Form->hidden('CmsSection.ctp_id');
		echo $cksource->ckeditor('CmsSection.body', array( 'config'=>$config));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>